package com.qsn.user.model.controller;


import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 用户表用于测试 前端控制器
 *
 * @author qiusn
 * @date 2021-03-05
 */
@Api(tags = "用户管理", value = "UserController")
@Slf4j
@RestController
@RequestMapping("/user")
public class UserController {


    /**
     * 用户表用于测试列表
     *
     * @return 列表信息
     */
    @ApiOperation(value = "用户表用于测试列表", notes = "备注信息")
    @GetMapping("/list")
    public String listUser() {
        log.info("call user ok");
        return "user";
    }

}
